package com.panshi.qa.provider.modules.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 857
 * @since 2020-07-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("qa_question_uncheck")
@ApiModel(value="QaQuestionUncheck对象", description="")
public class QaQuestionUncheck implements Serializable {

    private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "问答问题未审核表ID")
        @TableId(value = "id", type = IdType.AUTO)
    private Long id;

        @ApiModelProperty(value = "作者ID")
        private Long userId;

        @ApiModelProperty(value = "问题类型ID")
        private Long typeId;

        @ApiModelProperty(value = "问题标题")
        private String question;

        @ApiModelProperty(value = "问题背景(内容)")
        private String content;

        @ApiModelProperty(value = "图片地址")
        private String photoPath;

        @ApiModelProperty(value = "创建时间")
        @TableField(fill = FieldFill.INSERT)
    private Date createTime;

        @ApiModelProperty(value = "发布时间")
        @TableField(fill = FieldFill.INSERT)
    private Date publishTime;

        @ApiModelProperty(value = "审核时间")
        @TableField(fill = FieldFill.UPDATE)
    private Date checkTime;

        @ApiModelProperty(value = "审核人")
        private Long checkUserId;

        @ApiModelProperty(value = "审核描述")
        private String checkDescribe;

        @ApiModelProperty(value = "删除;0-删除,1-未删除")
        private Integer deleted;

        @ApiModelProperty(value = "0-审核中,1-未通过,2-已通过")
        private Integer status;


}
